import Vue from 'vue'
import Vuex from 'vuex'

// 登录仓库
import user from './modules/user'
// 仓库
import permissions from './modules/permissions'
// 简化代码
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
  getters,
  // 模块
  modules: {
    user,
    permissions
  }
})
